@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

notification {
  min-height: 30px;
  background-color: #FFE;
  color: #000;
}

notification[type="info"] {
  background-color: #EEE;
}

notification[type="critical"] {
  background-color: #FBB;
}

.messageImage {
  width: 16px;
  height: 16px;
  margin: 0px 1px 0px 6px;
}

/* Default icons for notifications */

notification[type="info"] .messageImage {
  list-style-image: url("chrome://global/skin/icons/information-16.png");
}

notification[type="warning"] .messageImage {
  list-style-image: url("chrome://global/skin/icons/warning-16.png");
}

notification[type="critical"] .messageImage {
  list-style-image: url("chrome://global/skin/icons/error-16.png");
}

.messageText {
  -moz-margin-start: 5px;
}

.messageButton {
  margin: 0px 5px 0px 5px;
}

.messageCloseButton {
  -moz-appearance: none;
  border: 1px solid transparent;
  height: 16px !important;
  padding: 0px 4px 0px 0px;
  list-style-image: url("chrome://global/skin/icons/close.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
  outline: none;
}

.messageCloseButton:hover {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
  border: 1px solid transparent;
}

.messageCloseButton:active {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
  border: 1px solid transparent;
}

.messageCloseButton > .toolbarbutton-icon {
  border: 1px solid transparent;
}
